package com.hopes.bizz.close.gis.vo;

import lombok.Data;

import java.io.Serializable;

/**
 * @author yumr
 * @ProjectName bizz
 * @Description 进出园区VO
 * @time 2023/10/29 21:56
 */
@Data
public class InOutParkVO implements Serializable {

    private static final long serialVersionUID = -8738384219156137286L;


    /**
     * 入园数量
     */
    private int enter;

    /**
     * 出园数量
     */
    private int outer;

    /**
     * 园中数量
     */
    private int inside;

    /**
     * 申请数量
     */
    private int apply;

    /**
     * 审批数量
     */
    private int audit;

    /**
     * 下标
     */
    private String index;


    public InOutParkVO() {

    }

    public InOutParkVO(String index, int apply, int audit, int enter, int outer, int inside) {
        this.apply = apply; this.audit = audit;
        this.index = index.length() == 13 ? index + ":00" : index;
        this.enter = enter; this.outer = outer; this.inside = inside;
    }

}
